package com.mezz.bones.bff.app.adapter.controller;

import cn.dev33.satoken.annotation.SaCheckLogin;
import cn.dev33.satoken.annotation.SaCheckPermission;
import com.mezz.bones.framework.base.domain.response.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhuang
 * @Date: 2024/8/30 19:02
 * @Description: TODO
 * @Version: 1.0
 **/

@RestController
@RequestMapping("/app/user")
@Api("用户信息")
public class UserInfoController {

    @ApiOperation(("用户账号信息"))
    @PostMapping("info")
    @SaCheckLogin
    @SaCheckPermission(value = {"ss"})
    public Result<String> userInfo(){
        return Result.OK();
    }

}
